package cloud.demarcia.crawler3.processors;

import cloud.demarcia.crawler3.entities.Page;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface Processor {

    List<Page> process(Document document) throws Exception;

    Object element2Object(Element element);
}
